//
//  ImageTableViewCell.m
//  e家园设计
//
//  Created by 愉乐 on 15/4/14.
//  Copyright (c) 2015年 lanou3g.com. All rights reserved.
//

#import "ImageTableViewCell.h"

@implementation ImageTableViewCell

- (void)dealloc
{
    [self.aimage release];
    [super dealloc];
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        self.selectionStyle = UITableViewCellSelectionStyleNone;

        self.aimage = [[UIImageView alloc] initWithFrame:CGRectMake(25, 10, self.contentView.frame.size.width , 260)];
        self.aimage.layer.cornerRadius = 20;
        self.aimage.layer.masksToBounds = YES;
        [self.contentView addSubview:self.aimage];
        [self.aimage release];
        
        CGRect rect = self.aimage.frame;
        rect.size.height = self.aimage.frame.size.height + 40;
        self.frame = rect;

    }
    return self;
}



- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
